package java12;

import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.util.Random;

public class RandomInput {

	public static void main(String[] args) {
		String FileName = "d:/test.txt";
		int count = 1000*10000;
		PrintWriter pw=null;
		try {
			pw = new PrintWriter(FileName);
			for(int i = 0;i<count;i++){
			pw.println(new Random().nextInt(100000));
		}
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		}finally{
			pw.close();
		}
	}
}
